widget: Avoid doing GtkSnapshot work just to append one node
authorTimm Bäder <mail@baedert.org>
Sat, 6 Jun 2020 10:09:10 +0000 (12:09 +0200)
committerTimm Bäder <mail@baedert.org>
Fri, 19 Jun 2020 03:26:24 +0000 (05:26 +0200)
commit461497e8d41db09dc3ea209bad1bee6ae8ca1970
tree93adc288b6eb1008c28d2767eab7ce9d775e7345
parenta974c83423715cf6752194b0ab4f8a50a0bb9bb8
widget: Avoid doing GtkSnapshot work just to append one node

We already know that a widget will have literally 1 node, not more.
Avoid doing the GtkSnapshot state stack dance and just append a new
transform node instead.

Seems to give me around 400 more icons in the fishbowl
gtk/gtkwidget.c